package cn.com.api.entity.base;

import java.io.Serializable;
import java.util.Date;

import cn.com.api.util.*;

/*
 * 文章与文章分类的关联表(多对多关系)
 * 
 */

public class U_article_cateBase implements Serializable {

	private static final long serialVersionUID = 00L;

	// Genegrated Automatically.

	// Id
	private Integer id;

	// Cate_id 分类id
	private Integer cate_id;

	// Article_id 文章id
	private Integer article_id;

	// Creater_id
	private Integer creater_id = 0;

	// Modified_by
	private String modified_by = "";

	// Modified_time
	private String modified_time = DateUtil.nowTimeToString();

	// 创建时间 Add_time
	private String add_time = DateUtil.nowTimeToString();

	public U_article_cateBase() {
		super();
	}

	public U_article_cateBase(Integer id, Integer cate_id, Integer article_id, Integer creater_id, String modified_by,
			String modified_time, String add_time) {
		this.id = id;
		this.cate_id = cate_id;
		this.article_id = article_id;
		this.creater_id = creater_id;
		this.modified_by = modified_by;
		this.modified_time = modified_time;
		this.add_time = add_time;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCate_id() {
		return cate_id;
	}

	public void setCate_id(Integer cate_id) {
		this.cate_id = cate_id;
	}

	public Integer getArticle_id() {
		return article_id;
	}

	public void setArticle_id(Integer article_id) {
		this.article_id = article_id;
	}

	public Integer getCreater_id() {
		return creater_id;
	}

	public void setCreater_id(Integer creater_id) {
		this.creater_id = creater_id;
	}

	// Modified_by
	public String getModified_by() {
		return this.modified_by;
	}

	public void setModified_by(String modified_by) {
		this.modified_by = modified_by;
	}

	// Modified_time
	public String getModified_time() {
		return this.modified_time;
	}

	public void setModified_time(String modified_time) {
		this.modified_time = modified_time;
	}

	// Add_time
	public String getAdd_time() {
		return this.add_time;
	}

	public void setAdd_time(String add_time) {
		this.add_time = add_time;
	}

}
